namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_S_SAMPLE_SAVE")]
    public partial class V_S_SAMPLE_SAVE
    {
        [Key]
        [StringLength(40)]
        public string SAVE_ID { get; set; }

        [StringLength(40)]
        public string SAMPLE_ID { get; set; }

        [StringLength(40)]
        public string SAMPLE_CODE { get; set; }

        [StringLength(40)]
        public string RFID { get; set; }

        public byte? SAMPLE_TYPE { get; set; }

        [StringLength(5)]
        public string SAMPLE_TYPE_STR { get; set; }

        [StringLength(40)]
        public string BATCH_CODE { get; set; }

        public DateTime? BATCH_TIME { get; set; }

        [StringLength(40)]
        public string MAKE_CODE { get; set; }

        [StringLength(40)]
        public string LOCKER_ID { get; set; }

        public bool? LOCKER_TYPE { get; set; }

        [StringLength(4)]
        public string LOCKER_TYPE_STR { get; set; }

        [StringLength(20)]
        public string IP { get; set; }

        [StringLength(20)]
        public string PORT { get; set; }

        public byte? CABINET { get; set; }

        public short? LATTICE { get; set; }

        public byte? X { get; set; }

        public byte? Y { get; set; }

        [StringLength(9)]
        public string CABINET_STR { get; set; }

        [StringLength(42)]
        public string LATTICE_STR { get; set; }

        [StringLength(43)]
        public string Y_STR { get; set; }

        [StringLength(42)]
        public string X_STR { get; set; }

        [StringLength(40)]
        public string SAVE_USER_ID { get; set; }

        [StringLength(200)]
        public string TRUENAME { get; set; }

        public DateTime? SAVE_TIME { get; set; }

        [StringLength(40)]
        public string TEST_CODE { get; set; }
    }
}
